<div class="layuimini-main minHeight-box" xmlns:th="http://www.w3.org/1999/xhtml">
<style>
    .layuimini-form .layui-form-item label{ line-height: 40px; text-align: right; padding-right: 10px;}
    .minHeight-box{ min-height: 100% !important; margin-bottom: 50px;}
    #love-box, #seeBook-box{ border-bottom: 1px solid #7d7d7d; margin-bottom: 20px;}
    #pre_photo::after{ content:""; display: block; clear: both;}
</style>
    <div class="layui-form layuimini-form minHeight-box" style="padding: 15px;">

        <input type="hidden" id="dynamicId" name="id" th:value="${dynamicId}">
        <input type="hidden" id="type" name="type" th:value="${type}">
        <input type="hidden" id="serviceId" name="serviceId" th:value="${serviceId}">

        <!-- 恋爱清单感受显示区 -->
        <div id="love-box" style="display: none">
            <div class="layui-form-item layui-row">
                <div class="layui-col-sm12 layui-col-xs12">
                    内容：<span id="content"></span>
                </div>
            </div>
            <div class="layui-form-item layui-row">
                <div class="layui-col-sm12 layui-col-xs12">
                    满意度：
                    <div style="width: 150px;display: inline-block;">
                        <select name="satisfied" id="satisfied" lay-filter="satisChnage">
                            <option value="0">非常不满意</option>
                            <option value="1">不满意</option>
                            <option value="2">满意</option>
                            <option value="3">很满意</option>
                            <option value="4">非常满意</option>
                        </select>
                    </div>
                </div>
            </div>
            <div class="layui-form-item layui-row">
                <div class="layui-col-sm12 layui-col-xs12">
                    增加亲密值：<span id="loveSweet" style="color: #ea74c5;">1</span>
                </div>
            </div>
        </div>

        <!-- 看书清单感受显示区 -->
        <div id="seeBook-box" style="display: none">
            <div class="layui-form-item layui-row">
                <div class="layui-col-sm12 layui-col-xs12">
                    书名：《<span id="bookName"></span>》
                </div>
            </div>
            <div class="layui-form-item layui-row">
                <div class="layui-col-sm12 layui-col-xs12">
                    目录：<span id="directoryName"></span>
                </div>
            </div>
            <div class="layui-form-item layui-row">
                <div class="layui-col-sm12 layui-col-xs12">
                    章节：<span id="bookListName"></span>
                </div>
            </div>
            <div class="layui-form-item layui-row">
                <div class="layui-col-sm12 layui-col-xs12">
                    开始时间：<span id="startTime"></span>
                </div>
            </div>
            <div class="layui-form-item layui-row">
                <div class="layui-col-sm12 layui-col-xs12">
                    结束时间：<span id="endTime"></span>
                </div>
            </div>
            <div class="layui-form-item layui-row">
                <div class="layui-col-sm12 layui-col-xs12">
                    <div class="layui-col-sm6 layui-col-xs6">
                        状态：<span id="status"></span>
                    </div>
                    <div class="layui-col-sm6 layui-col-xs6">
                        增加亲密值：<span style="color: #ea74c5;">5</span>
                    </div>
                </div>
            </div>
        </div>

        <div class="layui-form-item layui-row">
<!--            <label class="layui-col-sm2">上传图片</label>-->
            <div class="layui-upload layui-col-sm10">
                <button type="button" class="layui-btn" id="uploadPhotoBtn">上传图片/视频</button>
                <input type="hidden" id="isHashImg" value="0"> <!-- 是否有图片标记，0无，1有 -->
                <span style="color:red;font-size: 12px;margin-left: 10px;">提示：只能上传6张图片/视频</span>
                <blockquote class="layui-elem-quote layui-quote-nm" style="margin-top: 10px;">
                    预览图：
                    <div class="layui-upload-list" id="pre_photo"></div>
                </blockquote>
            </div>
        </div>

        <div class="layui-form-item layui-row comment-content">
            <label class="layui-col-sm12" style="text-align: left;">内容感受<span style="color: red;">*</span></label>
            <div class="cont-box layui-col-sm12">
                <textarea class="text" name="content" placeholder="请输入内容感受" lay-verify="required" lay-reqtext="内容感受不能为空"></textarea>
                <div class="tools-box">
                    <div class="operator-box-btn">
                        <span class="face-icon layui-icon layui-icon-face-surprised" title="表情"></span>
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-form-item" style="text-align: right;">
            <div>
                <button class="layui-btn layui-btn-normal" id="saveBtn" lay-submit lay-filter="saveBtn">保存</button>
                <button class="layui-btn layui-btn-primary" id="closeBtn">取消</button>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript" src="/asset/web/myspace/dynamic/dynamic_add.js"></script>
